package jjn.effective_java.chapter6.item34;

/**
 * @author Jiang Jining
 * @since 2023-04-26 19:52
 */
public class EnumTest {
    public static void main(String[] args) {
        Apple[] apples = Apple.values();
        for (Apple apple : apples) {
            System.out.println(apple);
        }
        System.out.println();
        Orange[] oranges = Orange.values();
        for (Orange orange : oranges) {
            System.out.println(orange);
        }
    }
}
